projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
610a5df
)
(server-process-filter): Only default to emacsclient's terminal in
author
Chong Yidong
<cyd@stupidchicken.com>
Wed, 5 Nov 2008 21:16:17 +0000
(21:16 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Wed, 5 Nov 2008 21:16:17 +0000
(21:16 +0000)
daemon mode.
lisp/server.el
patch
|
blob
|
history
diff --git
a/lisp/server.el
b/lisp/server.el
index 5b3cd9b82a0aacf9f61c22239cacec7c76ee23e3..2df1f9cedb3e4f9fc9853a4bdcf1537d7badc1c5 100644
(file)
--- a/
lisp/server.el
+++ b/
lisp/server.el
@@
-936,10
+936,11
@@
The following commands are accepted by the client:
(or (eq use-current-frame 'always)
;; We can't use the Emacs daemon's
;; terminal frame.
- (not (and (= (length (frame-list)) 1)
+ (not (and (daemonp)
+ (= (length (frame-list)) 1)
(eq (selected-frame)
terminal-frame)))))
- (setq tty-name nil)
+ (setq tty-name nil
tty-type nil
)
(if display (server-select-display display)))
((eq tty-name 'window-system)
(server-create-window-system-frame display nowait proc))